import 'package:json_annotation/json_annotation.dart';

import 'ConsignDepositories.dart';
import 'ConsignProduct.dart';
import 'ShopVo.dart';

part 'ConsignOrderVo.g.dart';

@JsonSerializable()
class ConsignOrderVo {
  ConsignOrderVo();

  String? sellerName;
  String? sellerAvatar;
  int? orderId;
  int? productId;
  String? buyerId;
  String? buyerName;
  String? buyerAvatar;
  String? sellerId;
  String? pickCode;
  String? orderCode;
  String? status;
  String? productMainImageUrl;
  String? createTime;
  String? productTitle;
  String? productPrice;
  String? updateTime;

  ShopVo? shop;
  ConsignProduct? consignProduct;
  ConsignDepositories? consignDepositories;

  factory ConsignOrderVo.fromJson(Map<String,dynamic> json) => _$ConsignOrderVoFromJson(json);
  Map<String, dynamic> toJson() => _$ConsignOrderVoToJson(this);
}
